package creationalPattern.builder;

public class Test {
    public static void main(String[] args) {
        PersonDirector pd = new PersonDirector();
        Person women = pd.constructPerson(new WomenBuilder());
        Person man = pd.constructPerson(new ManBuilder());
        System.out.println("man: " + man);
        System.out.println("woman: "+ women);
    }
}
